A Quantitative Study on the Aspectization of Exception Handling
نویسندگان
چکیده
It is usually assumed that the implementation of exception handling can be better modularized by the use of aspect-oriented programming (AOP). However, the trade-offs involved in using AOP with this goal are not yet wellunderstood. To the best of our knowledge, no work in the literature has attempted to assess whether AOP really promotes an enhancement in well-understood quality attributes other than separation of concerns, when used for modularizing nontrivial exception handling code. This paper presents a quantitative study of the adequacy of aspects for modularizing exception handling code. The study consisted of refactoring part of a real object-oriented system so that the code responsible for handling exceptions was moved to aspects. We employed a suite of metrics to measure quality attributes of the original and refactored systems, including coupling, cohesion, and conciseness. We found that AOP improved separation of concerns between exception handling code and normal application code. However, contradicting the general intuition, the aspect-oriented version of the system did not present significant gains for any of the four size metrics we employed.
منابع مشابه
Exception Handling: A Field Study in Java and .NET
Most modern programming languages rely on exceptions for dealing with abnormal situations. Although exception handling was a significant improvement over other mechanisms like checking return codes, it is far from perfect. In fact, it can be argued that this mechanism is seriously limited, if not, flawed. This paper aims to contribute to the discussion by providing quantitative measures on how ...
متن کاملHealthcare waste management and practices: A case study in Kodagu District, Karnataka, India
Inappropriate handling and disposal practices of healthcare waste (HCW) at healthcare centers are significantly increasing health and environmental hazards. This paper summarizes the existing situation of HCW handling and management practices at healthcare facilities in Kodagu district (India). This study was conducted for a period of six months using well-designed checklists along with field o...
متن کاملQualitative and quantitative approaches to analyse reliability of a mechatronic system: a case
The main research intent of this paper is to introduce the use of fault tree analysis (FTA) and failure mode and effects analysis (FMEA) in conjunction to analyse the risk and reliability of a complex mechatronic system in both qualitative and quantitative manner. The major focus is on handling imprecise and vague information with the help of fuzzy synthesis of information. A complex mechatroni...
متن کاملQualitative Research for the Information Professional: A Practical Handbook, 2nd ed
On the back of this text is a quote from a review of the first edition, from Library and Information Research News: ‘I almost never unreservedly recommend a book in a review that I write. This book is an exception. Go buy it.’ A strong recommendation indeed for a text regarding non-quantitative case study research on the behaviour of information seekers, and the workings of information institut...
متن کاملRobustness Testing of A Distributed Simulation Backplane
Creating robust software requires not only careful specification and implementation, but also quantitative measurement. This paper describes Ballista exception handling testing of the High Level Architecture Run-Time Infrastructure (HLA RTI). The RTI is a standard distributed simulation system intended to provide completely robust exception handling, yet implementations have normalized robustne...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005